package net.qunzhi.modules.cms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel("监控报警数据结果")
public class MonitorVO {

	private Integer equipmentId;
	@ApiModelProperty("流量计名称")
	private String name;
	@ApiModelProperty("调整流量计名称")
	private String flowMeterName;
	@ApiModelProperty("类型：1调度中心爬取，2丹灶数据，3纯手抄")
	private Integer type;
	@ApiModelProperty("压力更新时间")
	private LocalDateTime pressTime;
	@ApiModelProperty("压力值")
	private BigDecimal pressValue;
	@ApiModelProperty("流量更新时间")
	private LocalDateTime flowTime;
	@ApiModelProperty("流量值")
	private BigDecimal flowValue;
	@ApiModelProperty("电力更新时间")
	private LocalDateTime electricTime;
	@ApiModelProperty("电力状态 0备用电池，1通电")
	private Integer status;
	/**
	 * 压力上限值
	 */
	private BigDecimal pressUpperLimit;
	/**
	 * 压力下限值
	 */
	private BigDecimal pressLowerLimit;
	/**
	 * 流量上限值
	 */
	private BigDecimal flowUpperLimit;
	/**
	 * 流量下限值
	 */
	private BigDecimal flowLowerLimit;
	/**
	 * 是否压力报警
	 */
	private Integer isPressAlarm;
	/**
	 * 是否流量报警
	 */
	private Integer isFlowAlarm;
	/**
	 * 是否断电报警
	 */
	private Integer isOutageAlarm;
	@ApiModelProperty("报警配置id")
	private Integer alarmMonitorId;
}
